package com.kcwl.carrier.infrastructure.enums;

/**
 * 用户收藏部门状态
 */
public enum CarrierCollectionErrorCodeEnum {

    // 司机收藏相关错误码
    USER_ID_NOT_NULL("601", "用户id不能为空"),
    DEPARTMENT_ID_NOT_NULL("602", "部门id不能为空"),
    DEPARTMENT_IS_EXIST("603", "您已收藏该货主"),
    COLLECTION_FAIL("604", "收藏失败"),
    OPERATE_FAIL("605", "操作太快，稍后再试！"),
    REGULAR_ROUTES_COUNT("606", "不能超过配置收藏线路个数"),
    SUM_SIZE("607", "已达到货主收藏上限20，请删除其他已收藏货主后再次添加"),
    REGULAR_ROUTES_REPETITION("608", "该线路您已收藏");


    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    private String code;
    private String msg;

    CarrierCollectionErrorCodeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }


}
